package com.sunda.spmswms.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 储位库存信息表
 * </p>
 *
 * @author Wayne
 * @since 2021-03-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("WHS_STORAGE_INVENTORY")
@ApiModel(value="WhsStorageInventory对象", description="储位库存信息表")
public class WhsStorageInventory implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "储位UUID")
    @TableField("UUID")
    private String uuid;

    @ApiModelProperty(value = "物料编码")
    @TableField("MATERIAL_NO")
    private String materialNo;

    @ApiModelProperty(value = "箱码-仅用于自管仓备件货按箱处理使用")
    @TableField("BOX_NOTE")
    private String boxNote;

    @ApiModelProperty(value = "储位该物料总数量")
    @TableField("QUANTITY")
    private Double quantity;

    @ApiModelProperty(value = "储位该物料可用总数量")
    @TableField("AVAILABLE_QTY")
    private Double availableQty;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField("UPDATE_TIME")
    private Date updateTime;

    @ApiModelProperty(value="上架时间")
    @TableField("OPERATE_TIME")
    private String operateTime;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getMaterialNo() {
        return materialNo;
    }

    public void setMaterialNo(String materialNo) {
        this.materialNo = materialNo;
    }

    public String getBoxNote() {
        return boxNote;
    }

    public void setBoxNote(String boxNote) {
        this.boxNote = boxNote;
    }

    public Double getQuantity() {
        return quantity;
    }

    public void setQuantity(Double quantity) {
        this.quantity = quantity;
    }

    public Double getAvailableQty() {
        return availableQty;
    }

    public void setAvailableQty(Double availableQty) {
        this.availableQty = availableQty;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }


}
